package com.gitee.neuray.security.wb.ribs.mapper;

import com.gitee.neuray.security.common.util.Query;
import com.gitee.neuray.security.wb.ribs.vo.ApproveRoleVo;
import com.gitee.neuray.security.wb.ribs.vo.RibsVo;
import com.gitee.neuray.security.wb.ribs.vo.SelectVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;
import java.util.Map;

@Repository
public interface ApproveRoleMapper extends Mapper<ApproveRoleVo> {

    List<RibsVo> page(Query query);

    Integer count(Map<String,Object> map);

    List<SelectVo> getXS(@Param("deptName")String deptName);

}
